export const SEARCH_DATA = [
  {
    key: 'settleOrderMainCode',
    title: '主结算单号',
    type: 'input',
  },
  {
    key: 'consumptionStatus',
    title: '确认状态',
    type: 'select',
    attr: {
      clearable: true,
    },
    options: [{ label: '手术结算', value: '1' }],
  },
  {
    key: 'settleOrderSubCode',
    title: '结算单号',
    type: 'input',
  },
  {
    key: 'supplierName',
    title: '供应商',
    type: 'input',
  },
  {
    key: 'customerName',
    title: '客户名称',
    type: 'input',
  },
  {
    key: 'admissionNumber',
    title: '住院登记号',
    type: 'input',
  },
  {
    key: 'settlementAt', // 在一起的日期起始时间
    title: '提交时间',
    type: 'time',
    fieldname: ['operationBeginDate', 'operationEndDate'],
    attr: {
      class: 'daterange',
      type: 'daterange',
      style: 'width:260px',
      'start-placeholder': '结算开始日期',
      'end-placeholder': '结算结束日期',
      'default-time': ['00:00:00', '23:59:59'],
    },
  },
];
export const TAB_ARR = [
  { lab: '全部', val: 0, badge: '' },
  { lab: '待提交', val: 1, badge: '' },
  { lab: '处理中', val: 2, badge: '' },
  { lab: '已确认', val: 5, badge: '' },
  { lab: '已取消', val: 6, badge: '' },
];
export const COLUMNS_TABLE = [
  {
    type: 'index',
    label: '序号',
    width: 56,
  },
  {
    prop: 'settleOrderMainCode',
    label: '主结算单号',
    width: 200,
  },
  {
    prop: 'supplierNum',
    label: '供应商数量',
    width: 100,
  },
  {
    prop: 'typeDesc',
    label: '结算类型',
    width: 100,
  },
  {
    prop: 'pCompanyName',
    label: '配送商',
    width: 180,
  },
  {
    prop: 'customerName',
    label: '客户名称',
    width: 180,
  },
  {
    prop: 'admissionNumber',
    label: '住院登记号',
    width: 150,
  },
  {
    prop: 'prodTotalCount',
    label: '产品数量',
    width: 150,
  },
  {
    prop: 'totalProdTemplatePriceStr',
    label: '采购含税总金额（元）',
    width: 170,
  },
  {
    prop: 'totalProdSalePriceStr',
    label: '销售含税总金额（元）',
    width: 170,
  },
  {
    prop: 'consumptionStatusDesc',
    label: '确认状态',
    width: 150,
  },
  {
    prop: 'submitTimeStr',
    label: '提交时间',
    width: 180,
  },
  {
    prop: 'action',
    label: '操作',
    width: 300,
    fixed: 'right',
  },
];
